package com.wlyuan.open.scanner.repository;

import com.wlyuan.open.scanner.domain.order.OrderTransport;

import java.util.List;

/**
 * @author lijing
 */
public interface OrderAdditionTransportRepository {

    /**
     * 获取多段轨迹
     *
     * @param orderId
     * @return
     */
    List<OrderTransport> getByOrderId(Long orderId);

    /**
     * 根据id获取多段轨迹
     *
     * @param additionTransportId
     * @return
     */
    OrderTransport getById(Long additionTransportId);

}
